#include "NamedPipe.hpp"
int main()
{
    NamedPipe np(fifoname);
    np.Create();
    np.OpenForRead();
    std::string message;
    while(true)
    {
        bool ret=np.Read(&message);
        if(!ret)
        {
            break;
        }
        std::cout <<"client say@ "<< message << std::endl;     
    }

}